import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
require('./mock/mock')
// 引入axios封装的请求接口
import api from '@/api/user'
Vue.prototype.$http = api;

// 全局
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

import jquery from 'jquery'
Vue.prototype.$ = jquery

Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$bus = new Vue()
new Vue({
  router,
  store,
  Vant,
  render: h => h(App)
}).$mount('#app')
